﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class Home : MonoBehaviour
{
    public Button btn_Start;
    public Button btn_Quit;
    // Start is called before the first frame update
    void Start()
    {
        btn_Start.onClick.AddListener(LoadingGame);
        btn_Quit.onClick.AddListener(Quit);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    void LoadingGame()
    {
        SceneManager.LoadScene("Loading");

    }
    void Quit()
    {
        Application.Quit();
    }
}
